using System;
using UnityEngine;

namespace Globals
{
    /// <summary>
    /// 全局敌人数据
    /// </summary>
    public class GlobalEnemyData : MonoBehaviour
    {
        public static GlobalEnemyData Instance { get; private set; }
        
        public float EnemyMoveSpeed
        {
            get => initalEnemyMoveSpeed;
            set => initalEnemyMoveSpeed = value;
        }

        [SerializeField] private float initalEnemyMoveSpeed = 1.28f;


        private void Awake()
        {
            Instance = this;
        }
    }
}
